Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

Widget Creator Script

This script does most of the widget creating work for you if you've found the manual tutorials too hard to follow.

How to use:

  1. Navigate to the Discord Developer Portal
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
Details
@AcrylonitrileButadieneStyrene
AcrylonitrileButadieneStyrene / yno_sss_restore.user.js
Last active June 28, 2026 17:51
YNO Restore Share Screenshot
// ==UserScript==
// @name YNO Restore Share Screenshot
// @match *://ynoproject.net/*
// @version 0.1.3
// @grant unsafeWindow
// @run-at document-start
// ==/UserScript==
let count = 0;
const interval = setInterval(() => {
@DinleyH
DinleyH / windowkill.py
Last active June 28, 2026 17:50
Automatically close problematic dialog popups in sublime text 3.
This closes the popups instantly so you never see them and they dont effect indenting etc. Works on windows.
To install
1. open sublime
2. go to tools -> Developer -> New Plugin
3. paste the code into the document (replacing any existing code sublime includes in the document)
4. save the file using the default user plugin directory sublime suggests.
(on windows this is C:\Users\yourname\AppData\Roaming\Sublime Text\Packages\User)
5. Restart.
-- 母音マッピングテーブル
local vowel_map = {
[""] = "", [""] = "", [""] = "", [""] = "", [""] = "",
[""] = "", [""] = "", [""] = "", [""] = "", [""] = "",
[""] = "", [""] = "", [""] = "", [""] = "", [""] = "",
[""] = "", [""] = "", [""] = "", [""] = "", [""] = "",
[""] = "", [""] = "", [""] = "", [""] = "", [""] = "",
[""] = "", [""] = "", [""] = "", [""] = "", [""] = "",
[""] = "", [""] = "", [""] = "", [""] = "", [""] = "",
[""] = "", [""] = "", [""] = "",
@formo-re
formo-re / 1_Gemini Skills_EN.md
Last active June 28, 2026 17:47
I Recreated Claude's "Skills" system for Gemini Gems: The No-Code Modular Framework

Gemini Skills

⚠️ The text below is for reference only — do NOT paste it into System Instructions: Paste everything from "1. Who You Are" through "6. Behavioral Standards" into the Gem's System Instructions field. After attaching NotebookLM, simply add an Index Note (following the template) to each NotebookLM to expand skills. You do not need to modify these instructions when adding new skills.


1. Who You Are

@k16shikano
k16shikano / SKILL.md
Last active June 28, 2026 17:41
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形